package com.design.factorymethod.demo;

/**
 * @Author: xiemiao
 * @CreateTime: 2023-04-19  23:14
 * @Description: TODO
 * @Version: 1.0
 */
public class Client {
    public static void main(String[] args) {
        Factory factory;
        factory = new ConcreteFactory();
        Product product;
        product = factory.factoryMethod();
        product.getProduct();
    }
}
